package cn.chengpengper.seckill.order.application.service;

import cn.chengpengper.seckill.common.model.dto.SeckillOrderSubmitDTO;
import cn.chengpengper.seckill.order.application.model.command.SeckillOrderCommand;
import cn.chengpengper.seckill.order.application.model.task.SeckillOrderTask;

/**
 * 下单接口
 * @author chengpeng.hu
 */
public interface SeckillSubmitOrderService {

    SeckillOrderSubmitDTO saveSeckillOrder(Long userId, SeckillOrderCommand seckillOrderCommand);

    default void handlePlaceOrderTask(SeckillOrderTask seckillOrderTask){}

    default void checkSeckillOrder(Long userId, SeckillOrderCommand seckillOrderCommand){}


}
